				<ul class="indextitre">
				  <li><b><b><b>Derniers profils ajout&eacute;s</b></b></b></li>
				</ul>

			<?php
				include 'connect.php';
				$table_name = "customer";
				$sql = "SELECT * FROM $table_name ORDER BY create_date DESC LIMIT 5"; 
				$result = mysql_query($sql,$db)
					  or die("Exécution requête user impossible".mysql_error()); 
			?>
			<table id="job-posts" class="job-posts" cellspacing="0">
				<?php
				$i=1;
				while($user = mysql_fetch_array($result))
				{?>				
				<tr>
					<td>
						<img class="imguser" src="images/user_
						<?php switch($i)
							{
							case 1: echo "gray";break;
							case 2: echo "red";break;
							case 3: echo "green";break;	
							case 4: echo "orange";break;
							case 5: echo "suit";break;							
							}
						?>
						.png" />
						<a href="<?php echo $_GLOBALS['site_url']."user/".$user['user_name'];?>" title="<?php echo $user['title']; ?>">
						<?php echo $user['user_name']; ?></a> 
						<?php if ($user['city']!= '') { ?><span class="la">-</span> <?php echo $user['city']; } ?>
					</td>
					<td class="time-posted">

					<?php
						if(stillLooking($user['user_name'])==0){
							echo "<img src='img/flag_red.gif' title='Ne cherche plus'/>";
						}
						else
						{
							echo "<img src='img/flag_green.gif' title='Recherche'/>";
						}
					?>

					<img src="images/clock.gif" alt="" /> <?php echo $user['create_date']; ?></td>
				</tr>
				<?php 
					$i++;
				} ?>
			</table>
			

			